﻿
function ClientAdd2ShoppingCart(productId) {

    rValue = CMS.ctrProduct.ServerSideAddShoppingCart(productId).value;
    rValue1 = CMS.ctrShopingCart.strCart().value;
    alert(rValue);
    document.getElementById('divContentShop').innerHTML = rValue1;
}

function ClientRemove(ProductCode) {

    Quantity = document.getElementById(ProductCode).value;
    rValue = CMS.ctrShopingCart.ServerSideRemove(ProductCode).value;
    document.getElementById('divContentShop').innerHTML = rValue;
}

function ClientAdd2ShoppingCartDetail(productId) {

    rValue = CMS.ctrProductDetail.ServerSideAddShoppingCart(productId).value;
    rValue1 = CMS.ctrShopingCart.strCart().value;
    alert(rValue);
    document.getElementById('divContentShop').innerHTML = rValue1;
}


